#ifndef _STACK_
#define	_STACK_
#include "stdlib.h"
#include "stdio.h"

typedef struct{
	char data[100];
	int top;
	int buttom;
}stackC;

typedef struct{
	int data[100];
	int top;
	int buttom;
}stackN;

stackC *StackCCreater();

int IsCEmpty(stackC * p);

int StackCTop(stackC * p);

void StackPushChar(stackC * p, char str);

char StackCPop(stackC * p);

void StackCCheck(stackC *p);


stackN *StackNCreater(); 
int IsNEmpty(stackN * p);
int StackNTop(stackN * p);
void StackPushNum(stackN * p, int num);
char StackNPop(stackN * p);
void StackNCheck(stackN *p);

void freeStack(stackC * c, stackN * n);

#endif